package inet.showcases.visualizer.ieee80211;

import inet.environment.common.PhysicalEnvironment;
import inet.networklayer.configurator.ipv4.Ipv4NetworkConfigurator;
import inet.node.inet.WirelessHost;
import inet.node.wireless.AccessPoint;
import inet.physicallayer.ieee80211.packetlevel.Ieee80211ScalarRadioMedium;
import inet.visualizer.integrated.IntegratedVisualizer;


network Ieee80211VisualizationDisplayingAssociationsShowcase
{
    @display("bgb=497,331");
    submodules:
        accessPoint: AccessPoint {
            @display("p=287,156");
        }
        wirelessHost: WirelessHost {
            @display("p=127,157");
        }
        configurator: Ipv4NetworkConfigurator {
            @display("p=409,32");
        }
        visualizer: IntegratedVisualizer {
            @display("p=409,78");
        }
        radioMedium: Ieee80211ScalarRadioMedium {
            @display("p=408,123");
        }
}

network Ieee80211VisualizationAdvancedFeaturesShowcase
{
    @display("bgb=574,468");
    submodules:
        visualizer: IntegratedVisualizer {
            parameters:
                @display("p=100,50");
        }
        radioMedium: Ieee80211ScalarRadioMedium {
            parameters:
                @display("p=99,111");
        }
        configurator: Ipv4NetworkConfigurator {
            parameters:
                @display("p=100,178");
        }
        accessPointA: AccessPoint {
            parameters:
                @display("p=312,190");
        }
        accessPointB: AccessPoint {
            parameters:
                @display("p=392,269");
        }
        hostA1: WirelessHost {
            parameters:
                @display("p=286,99");
        }
        hostA2: WirelessHost {
            parameters:
                @display("p=475,177");
        }
        hostB1: WirelessHost {
            parameters:
                @display("p=233,313");
        }
        hostB2: WirelessHost {
            parameters:
                @display("p=375,403");
        }
        hostB3: WirelessHost {
            @display("p=406,89");
        }
        hostA3: WirelessHost {
            @display("p=501,328");
        }
}

network Ieee80211VisualizationVisualizingHandoverShowcase
{
    @display("bgb=561,411");
    submodules:
        accessPointA: AccessPoint {
            @display("p=100,250");
        }
        accessPointB: AccessPoint {
            @display("p=450,250");
        }
        configurator: Ipv4NetworkConfigurator {
            @display("p=100,344");
        }
        visualizer: IntegratedVisualizer {
            @display("p=203,344");
        }
        radioMedium: Ieee80211ScalarRadioMedium {
            @display("p=317,346");
        }
        wirelessHost: WirelessHost {
            @display("p=100,150");
        }
}

network Ieee80211VisualizationSignalLevelsShowcase
{
    @display("bgb=574,468");
    submodules:
        visualizer: IntegratedVisualizer {
            parameters:
                @display("p=100,50");
        }
        radioMedium: Ieee80211ScalarRadioMedium {
            parameters:
                @display("p=99,111");
        }
        configurator: Ipv4NetworkConfigurator {
            parameters:
                @display("p=100,178");
        }
        physicalEnvironment: PhysicalEnvironment {
            @display("p=101,245");
        }
        accessPointA: AccessPoint {
            parameters:
                @display("p=258,94");
        }
        accessPointB: AccessPoint {
            parameters:
                @display("p=458,94");
        }
        hostA1: WirelessHost {
            parameters:
                @display("p=258,293");
        }
        hostA2: WirelessHost {
            parameters:
                @display("p=258,393");
        }
        hostB1: WirelessHost {
            parameters:
                @display("p=458,293");
        }
        hostB2: WirelessHost {
            parameters:
                @display("p=458,393");
        }
}
